var Tag = require('../../../src/libs/tag');
/*var Tag = UcsmyUI.Tag;*/
var Root = React.createClass({
  onclick: function() {
    console.log('标签 点击事件');
  },
  onclose: function() {
    console.log('关闭 点击事件');
  },
  render: function() {
    return <div>
        <Tag id="tag1" value="标签1" />
        <Tag id="tag2" value="标签2" onclick={this.onclick} />
        <Tag id="tag3" value="标签3" onclick={this.onclick} close="show" />
        <Tag id="tag4" value="标签4" onclick={this.onclick} close="show" onclose={this.onclose} />
    </div>
  }
})
UcsmyUI.Render(Root, document.getElementById('main'));
